﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Shipping-Schedule.aspx.cs" Inherits="Phoenix.Shipping_Schedule" Culture="auto"  UICulture="Auto"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" runat="server">
<h2><asp:Label ID="lb_title" runat="server" Text=""></asp:Label></h2>
<div class="shipping">
<div class="s_content">
    <table class="ship_search">
        <tbody>
            <tr>
                <td class="ship_search_title"><asp:Label ID="lb_port" runat="server" Text=""></asp:Label></td>
                <td>
                    <asp:DropDownList ID="drop_port" runat="server">
                    </asp:DropDownList>
                    
                </td>
                
            </tr>
            <tr>
                <td class="ship_search_title"><asp:Label ID="lb_from" runat="server" Text=""></asp:Label></td>
                <td>
                    <asp:TextBox ID="txt_from" runat="server" ReadOnly="true"></asp:TextBox>
                    <asp:HiddenField ID="hidden_from" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="ship_search_title"><asp:Label ID="lb_to" runat="server" Text=""></asp:Label></td>
                <td>
                    <asp:TextBox ID="txt_to" runat="server" ReadOnly="true"></asp:TextBox>
                    <asp:HiddenField ID="hidden_to" runat="server" />
                </td>
            </tr>
            <tr>
                
                <td class="ship_search_title"></td>
                <td><asp:Button ID="bt_sumit" runat="server" Text="Submit"  
                        OnClientClick="return check_Shipping()" onclick="bt_sumit_Click"/></td>
            </tr>
        </tbody>
    </table>
</div>
</div>
<script type="text/javascript">
    function check_Shipping() {
        var from = document.getElementById("<%= txt_from.ClientID %>").value;
        var to = document.getElementById("<%= txt_to.ClientID %>").value;
        document.getElementById("<%= hidden_from.ClientID %>").value = from;
        document.getElementById("<%= hidden_to.ClientID %>").value = to;
        return true;
    }
</script>

    <asp:Literal ID="text_content" runat="server"></asp:Literal>

</asp:Content>

